package com.lapian.designmode.observer.improve.test.improveE;

public class Client {
    public static void main(String[] args) {
        WeatherDateC weatherDateC=new WeatherDateC();
        weatherDateC.register(new XiaoWuApp());
        weatherDateC.register(new TangSanApp());
        weatherDateC.setDate("下雨");
    }
}
